home *** CD-ROM | disk | FTP | other *** search
- ////////////////////////////////////////////////////////////////
- // CMDLEARN Copyright 1995 MSJ.
- // If this program works, it was written by Paul DiLascia.
- // If not, I don't know who wrote it.
- //
- // CMDLEARN illustrates how MFC routes commands and messages.
-
- #include "resource.h"
- #include "tracemsg.h"
-
- //////////////////
- // Standard MFC application class.
- // Overrides OnCmdMsg to route commands to theTracer.
- //
- class CApp : public TWinApp {
- DECLARE_DYNAMIC(CApp)
- public:
- CApp();
- virtual BOOL InitInstance();
- virtual BOOL OnCmdMsg(UINT, int, void*, AFX_CMDHANDLERINFO*);
- //{{AFX_MSG(CApp)
- afx_msg void OnAppAbout();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
-